package cn.wolfcode.business.mapper;

import cn.wolfcode.business.domain.DriverInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DriverInfoMapper{
    public List<DriverInfo> selectDriverInfoList(DriverInfo driverInfo);

    DriverInfo selectByPhoneAndDate(@Param("customerContact") String customerContact, @Param("appointmentDate") Date appointmentDate);

    int addDriverInfo(DriverInfo driverInfo);

    DriverInfo selectDriverInfoById(Integer id);

    int updateDriverInfo(DriverInfo driverInfo);

    int deleteDriverInfoById(Integer id);

    int addfankui(DriverInfo driverInfo);
}
